package per.kongtouxu.service;

import org.apache.ibatis.annotations.Param;
import per.kongtouxu.domain.pojo.User;

public interface UserService {
    //根据账号密码查询User
    public User loginUser(String account, String password);
    //保存用户
    public int saveUser(User user);
    //根据账户查询user
    public User findUserByAccount(String account);
    //根据ID查询user
    public User findUserById(Integer userId);
    //增加积分
    public void updateScoreByUserId(Integer userId,Integer userScore);
}
